package com.rongke.mapper;

import com.rongke.model.Channel;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * @ChannelMapper
 * @Mapper
 * @version : Ver 1.0
 */
public interface ChannelMapper extends BaseMapper<Channel>{
    List<Channel> selectListAll(Map map);
    Integer selectListAllcount(Map map);
    Integer newagent();
    /***
     * 代理商登录
     * */
    Channel selectByUserName(String userName);

    Channel selectByToken(String token);

    List<Channel> selectCustomer(Map map);
    Integer selectCustomercount(Map map);


}
